package cn.com.xiaoshoujia.order.mapper;

import cn.com.xiaoshoujia.activities.vo.ActivitiyBackMsgVO;
import cn.com.xiaoshoujia.order.entity.ActivityOrder;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public interface ActivityOrderMapper {

    Object findOrderMsg(@Param("id") Long id, @Param("type") Integer type);

    Long findSingleCount(Object entity);

    List findSingleByPage(Object entity);

    Long findHeadCount(Object entity);

    List findHeadByPage(Object entity);

    Object findHeadOrderTotal(Long headId);

    List listProduct(Long id);

    List exportSingle(Object entity);

    List exportHead(Object entity);

    Object teamNoPay(@Param("sysId") String sysId, @Param("id") Long id, @Param("type") Integer type);

    List noticeOrder(Date date);

    ActivitiyBackMsgVO notifyMsg(String orderId);

    Object findOrderCount(Long teamId);

    ActivityOrder findSingleStatus(@Param("sysId") String sysId, @Param("id") Long id);

    ActivityOrder findByOrderId(String torderId);

    Integer findSuccessCount(Long headId);

    Long findJoinNoPay(@Param("sysId")String sysId,@Param("id") Long id);

    Long findIdByXcode(String xcode);

    BigDecimal findSingleSuccess(Long id);

    BigDecimal findHeadSuccess(Long id);

    Object findTypeByOrderId(String orderId);

    List<String> findJoinPhones(Long teamId);

    List<ActivityOrder> findAllNoPay(@Param("sysId")String sysId,@Param("id")Long id);
}